Added wuclass for magnetic sensor