Added isKindOfClass: check.

Wasn't sure of exactly how to test this – let me know what you think.