Continuity of composition