Small improvements to sensor base class