Issue #30: Type conversions for procedures and functions