Get rid of obsolete constructor.