Updated to use with Revel v0.11