Fixed a typo in extending.md