Added support for simpler usage of SimpleExPendingCommandFactory2.

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