Fixes issue with sensor reset declaration.