Attempting to add date encoding and decoding support... it didn't work very well.