Adding a groups to recipients function in Helper.