Uploading of attachments almost working. Held up by _FIELD_TYPES mess.