Use _runtime.toValue() instead of func toValue()

This fixes #72