Added support for *Type attributes in Custom Field. Fixes #64