Added classes, added support to read text fields.