Moved search to header.