added missing imports for methods package.