Support for loading/saving shapes.