Make methods refer to ENCODING constant instead of 'utf-8'