Add support for class inheritance to the annotation SPI (#125)