Made response classes more generic