Added the use of log messages.