Defer attaching metadata to cube

This enables all the coordinates to be passed to the Cube constructor arguments.