Moved snippets to inc files