Added convenience functions for controller generation