Revert package dependency in Functional