Update syntax after linting

I removed unneeded elements from the controller.