#152 convert PathTokens to an interface