Yay, another chunk of dimension code :)