Added basic methods to support message logging