Add autocompletion for defined functions and constants