Fixes in Accelerometer example instances.