providesMethodsForEncoding