Added example snippets for Curves.