Refactored distributions to not use __dict__.update().