Code cleanup for data merging and SRDA data collection functionality.