Avoid problems serializing methods that error out