rewrite to allow configuration of relations to compute

Extension to allow specification of relations to use during closure compensation on a per-namespace basis