Extending doc