Compile controller in last.