Cleaning templates calls in controllers