Remove before-action hooks
Uncomment deprecated methods