Added ply output.