Fix extends keyword