Fix DecodeInterface.
Merge pull request #15 from vmihailenco/fix/fix-decode-interface

Fix DecodeInterface.