Added additional logging functions.