Fix autocompletion errors from Ag