Remove dependency on tfd package.