Utility code for Play! Framework.