Add APTMessage class.