Added document routes to API