Added support for final/abstract classes