Adding flags property to get branches