Properly reading Integer, Text and Date types and creating subclasses.