Use class eq checking instead of reflection as getCanonicalName has a large overhead
Merge pull request #22 from ahollinshead/master

Use class eq checking instead of reflection as getCanonicalName has a la...