Rename get_raw_data, remove unused #defines