Based on feedback on pull request #158

Ignores methods, properties and field declaration in visitor