Bug fix in _enabledTypes