Add two methods getQuery() and set() for Search Class.