Replaced explicit class comparisons with 'isMemberOfClass'
Merge pull request #165 from Hecktorzr/class_comparison

Replaced explicit class comparisons with 'isMemberOfClass'