Made `compose` side-effecty, like `apply`.