Added 'texture' method to Decoder.