Improve documentation, added extend example.
Fix markup
Fix markup