Adding controller generation.