Revert "Add support for response type"

This reverts commit d52c2ef4f892df00cd31c31094c101cb16f348c7.