Add dirty checking to new types