Adding headers class method