todos: Change apis from boolean isInstancesLevel to enum MidLevel