Add Ruby exceptions.