wrong indent, should be inside the if
my NegativeBinomial branch add `extra_params` as attribute, which will need consistency checking and conflict resolution when both are merged.