Fixed a null pointer when translating a library with no writable
variables.
Dates and durations added (but aliased to "real" for now)