Method params should have type hinting (see issue #286)

Historically, this method accepted an array of group names. Now it requires a group object. This PR enforces that and updates the relevant test.