Repository code snippets