changed _type to _t for alternative compatibility
added configurable deault_type_field