Dimension stuff. Still a wip.