There may be a better way, but one approach that should work is to parametrize by both `T` and the plan type.