Various tools and code snippets