Removing last `@api` occurrences in Definition