Remove unused search functions. Add support for hash search inside /search route.