Adds State#fireTrigger(trigger, recursive) API for firing triggers only on the object without including the embedded ones.
Code clean-up on visibility values change.