Added headers param
Documentation improved