Support flattening of composite services