Fixed some serializable issues with regards to command 2 factory
interface and implementations.

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