Change NodeStorage to use object literal style