CodeSnippet class