Turned the remaining static enums into dynamic ones.
Fix up the unit tests for the new container type definition.
Merge pull request #246 from hudmol/missing-dynamic-enums

Turned the remaining static enums into dynamic ones.