reinstated 'flag' swig tag for backwards compatibility