Fix up pymode and rope