Eliminate unsed serialize: fixes #742