added allowedClasses to filter purifier