Also need to add some valdation to PackageGroups to say do not save if you units[:name] =>{{...}} does not contain package name.