Fix controllers not respecting optional paramaters