Styles flags enum replaced with a simpler one

Required for later commits