Added restrictSearchableAttributes method