Simplify SearchBox class