Fixed WSApplication to handle extras groups.