Added subview-state dependency for examples