Removed redundant usages of ExPendingCommandFactory.
Removed unused ExPendingCommandFactory.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>