Fixed #326. Added 'form_optional_types'