Catalyst - API code snippets