Changed ::supports to resolve the class.