Generator controllers