Update documentation to use inheritDoc and avoid repetition, also easier to fix errors in docs.