Added the ability to store array dimensions in types.