HAL-301: Use class attributes for debug hooks