Inserted a check in the Visualizer if the initialize method has been
called.