converted NakedObject to new style class