More safety in DefaultMessageBuf