Update Dimension grammar.
Update tests for TypeSpecs.