Adding resource injection snippets.