Made static methods in TextCigarCodec and BinaryCigarCodec