TD-3795 remove unused code in Pathway repo