import the devresid function from Distributions to add methods to it