Sadly need an instanceof
Merge pull request #1 from Sanne/master

Sadly need an instanceof