Some random classes and snippets.