Attributes group in RecipesBase

I am trying to set the attribute group for a recipe in Recipes Base.jl. However, it looks like the attribute group is ignored

using RecipesBase, Plots
@userplot MyPlot
@recipe function f(bs::MyPlot)
    group := bs.args[3]
    bs.args[1], bs.args[2]
end

x = [1, 2, 3, 4]
y = [1, 2, 1, 2]
group = [1, 1, 2, 2]
myplot(x, y, group)
# does not give the same thing as
plot(x, y, group = group)