Added boolean methods and a getter method for headers.