fix for #242, filtered away enum classes from top-level models