Namespacing Fix

We use namespacing a lot accross the application, and we encountered an issue when we create for example:
Model.Leave.Type, and then Model.Leave
This will cause the initial Model.Leave object containing the Type to be overwritten by Model.Leave constructor.
The fix will extend the new constructor with initial object properties.