Added some 2D objects functions