Fix for issue #56: Added check to see if value responds to isKindOfClass...