Add a groups m2m field on the ResourceBase.