Stub in support for container/state handling.

For now, just stores away the flags; will need to implement the rest
later.