Exclude lengths from return values, fix bug in decode / example