remove methods only used in tests