adapting to new annotation scanning config style