Minor refactoring - 'isObjectOfClass' has been replaced with 'isClassOfObject'.