fixing auto-complete, moving toward ipython integration