Added dirty bit for logging.