Remove magic 'accelerometer' and 'gravity' strings