Issue #73: Change userDefinedCommandFactories in CommandFactory into instance variable from static.