Silence free variable warnings
Cleanup ide.el and add override for expand