Override ddGroups from Default CQ Form Pathfield

DDPathfield extends from CQ.form.Pathfield.
The getDropTargets function in CQ.form.Pathfield forces the target groups to be:
"media", "s7media", "page"

In this case, if I don't override the function, I am not able to have a ddpathfield only accepting image([media])