Take out uneccessary setControls function.