Added autocomplete.

Added autocomplete functionality. Closes #35