Made searching more efficient.