Adapts to new Completion API
Merge pull request #207 from skyluc/issue/API-Completion

Adapts to new Completion API