Update extending.html

Updated docs with correct method name