These two lines are redundant; switching them around should improve performance because we just call `_unserialize` once.