Fixes #6 - Don't generate hasDeclaringClass for Enum