Uncomment code related to accelerometer features.