Composition with Target Constraints (Logical Methods in Computer Science, 2011)