Fixed a typo in extending.md
Merge pull request #569 from parthasarathigk/4.1

Fixed a typo in extending.md