Added common message methods to the header file.