Added support for detecting data cubes