Fix parent class name method when dealing with abstract classes