Various code snippets for working with the Play Framework