[DONOTMERGE] Simplified ``FauxFactory`` class definition.

This pull requests proposes to simplify the definition of the
``FauxFactory`` class for backwards compatibility by looking into the
module's own set of functions and individually adding them to the class
using ``setaatr``, and removing a long list of function definitions that
were calling the newer set of functions.