Laravel 4 support. predefined actions are now static functions