Implemented building search.