added getAnnotation() to extensions that should have implemented it