Make doctests pass too
Remove from_dict constructor

Remove the inelegant from_dict() constructor. The standard constructor
now accepts a dict as a first positional argument. Any keyword arguments
will override values in the dict.