Remove getTypeName() from Object interface and add member variable