Merge pull request #14 from Financial-Times/backwards

reinstated 'flag' swig tag for backwards compatibility