remove needness of base class for message type
remove useless template