Composing Higher Order Objectives