Add very basic dirty tracking