Add way to generate errors randomly.