Added simple implementation of string reading.