added support for array, static, and template field types.