Protected functions in Controller; fix debugbar