Add initialization to sensor classes