Allow to have a hook through controller method