remove unused methods of frozendict