Cleaned up visualizer:init and object:init