remove some useless functions from Token