Fix a related subtle bug with closures that would have caused multiple requests to affect one another.
Remove excess spaces.