change field to 'allowed_classes'