isEmpty method of the MessageHandlers is implemented

Otherwise there was a compile time error.