The `types` property is not defined in the class. It probably should be.