add basic 2d point and rect types