reg module/state support for all Value Types
Merge pull request #6222 from ranl/develop

reg module/state support for all Value Types