(lao-composition-function): Adjusted for the new calling way.