add dirty property to each *RefObject classes