Addded scopeSearch() method to BaseModel