Add manage_recurring_documents and path to hooks, fix minor issues