Add autocompletion support for defined functions and constants