Maybe we want to call it getHeaders() to make it consistent with what we did in 3.x ?