Generated controller