Adds batch flag registration