Fixed groups library for 1.9