Use string instead of number for RecordType enum value and get rid of nasty
__repr__ hack.
Remove old RecordType definition.
Update changes.
Merge branch 'use_string_for_record_type_value' into trunk