Common use of Composition and Function Clause in Contracts