Added setCompositeRepr to internalCompose