Add some default methods to the shapes.