Support for lambda functions in unit converter