Changed filter_users and filter_groups to require an array.

Also added some RDoc.