This template ought to serve as an example of convenient code that can be reused elsewhere.