Changed class prefix to treedepth; removed (for now) addLevelType.