Classes don't support undefined defs. Should they?
Made imports into their own nonterminal.