Until we find a better home for it, the code for the complete() method is exactly the same in each case so we should come up with a way for show-source/show-doc to share it.