Remove code duplicity in Response constructors