Controller extensions for the Slim Framework