Added support for code snippets