Have dimensions be a hash, rather than an array