added missing runQuery/getState export