Refactor Search#limit, page, query to single definition