Use completion prefix, fixes #294