Added parameter-as-function.