Add support for enum
Ignore private/protected methods