Hardware code fixes.