Renamed methods and moved demo data generation to a separate method.