Transition docs to new API