Fix Shadowing extensions variable in Register Annotation Exentsions