change supports to supportsClass