Added logging class.