This needs to initialize `realtime_data_` and `non_realtime_data_` before dereferencing and assigning to them.