Added import code for Terms