Add state namespace without display dependancies
Fix bug in data.dimension