Added ability to set message fields to refer to enums or other messages.