Handle interfaces and abstract classes properly