Fix extends syntax.