Fix the state vector def.
Namespace issues.