Refactored the handling of types a bit.
First pass at initializers and arrays.