Responsibility of checking dirty-flags and clearing them to designated methods