Migrates the String assertions to the new way of supporting extensibility (via extension methods).