Added get-completions method that prioritizes functions if completion is in application position.