Small edits to make sure ProcessData runs properly.