Fixed type parsing, added string sample. TODO: expression assignments.