Changed 'child' to 'term' in Term class