Documentation refactor