Added sample generator.