Add doctests to Headers class