Search mode related parts removed from GraphSearch class.