Improved Group API and implemented User.PrimaryGroup