This isn't generated by the template but looks good and more suitable for DRY.