Sets up widget to pass along data.