restore 'unused methods' since they are used in tests