Added new parameters to getVisualization().