Introduce base type for responses

* Refs #11