Adding common lifecycle events