Added specification of the heap responses, need to add error responses too.