Fix extends pragma.