Added bit of logging.