Add loadShapes() and saveShapes().