Fix extends method