Remove validations and update serialization.

There is no longer any need to throw an error when the command executor is
used with container options.