Add handlers for long and date/time values, fix a javadoc comment