fix headers arg; minor doc changes