Added the object creation to the debugger system.
Refactoring property system to avoid code duplication.