kazoo: remove dependency on tm module