Added code to save Date- and RichText-objects to the database