Add curses module support.