Added String extension for equals method.