Add support for morphing shapes.