added getter for object type + astyle