Added before actions callbacks.