Add a couple of methods that help users add dirty rectangles.