Added nice composite function.