Added local_attributes and global_attributes to cube.