Fix all extends.