command factories are now serializeable