Get rid of needless explicit error handling for xml decoder