Changed ProtoModel and MessageModel to return address of enum and message collections.