DRY snippets of goodness