Added fromStrings method. Tests are needed.