Implemented default decode() method