Fix #43: Let ImportFunctions use same enum-friendly
ImportConstants#toClass()