Added parse() method to NumberFormatter.