Add support for d3's tickPadding and tickValues functions.