Pass ref to current handler instance to willTransitionAway