Fix doc comments for getBodyAs and getHeader methods