Added the ability to delete shapes.