Added convenience function to get group based on it's name, and
corrected some parameters.