Adding method to header