optimize the docs.