DRY views a bit