Some changes to Request and Environment.