Fixed a few errors in HardwareBase