Added templates to visualize to work with random variables.