Currently the state manager overwrites modSchema even if it is an empty object.
Currently the state manager overwrites modSchema even if it is an empty object.