remove depState from public API