Gh405 propagate flags from codesync algorithm

These methods shouldn't be static anymore