Changed import_apl to retain comments and blank lines in function definitions.