Adding extra struct tm accessors.
Fixing bug in keyword-ref.