Break up TypedBytes into TypedInput and TypedOutput.

Update Response to use TypedInput.

Closes #135.