Remove unused get_headers method