Stronger typing of response generators.

Removes old response generators, moving them to the relevant status codes.