Autocompletion should check the prototype chain.