v0.7 Partial support for scalar functions