Document the completion function and update the integration guide
Merge branch 'completion'