Add normalize and search functionality to model.