Removing all references to sf groups