Refactor docs