Code snippets to add specific functionality to existing apps