Completed Search class.