Remove allml references
Remove unused function
More general and elegant Alternates
Fix sloppy regex