DRYing up catolog views