Moved parent property to class from object