Mark the controller method as deprecated (#367)