Added logging methods.