Finishing controller generation.