Support save/load for surface shader.