Document when life cycle events are called