Shifting redundant event representations to sensor_deprecated.h file