Bugfix

Now returns a flags instance