Import from http://sourceforge.net/projects/ote/