Correctly support #duration and #db reader literals.