Composite Functions and Restrictions on Variables