[SourceEditor] Improved the AbstractUsagesExtension API.