Add onActivation() to State, update documentation