add extends to annotations