Centralize header code paths for hover/Completion