Remove deprecated response keys and update API definition.

Progress on #24.