Refactor docs.