Replace house type integers with constants.