Removed whenClassIsDefined() customization.