Implemented lift3 apply.