Preparing stub for visualizer