Added more proper logging.