Extract core/utils/functions.compose()