remove Object.expectMessageType field