Added support for native<logical> in hmsb