Add FromSimpleValue method; minor fixes