Implemented APMessage.toString