Removing superfluous flags declarations