as<>() and wrap for dates now split between declaration and definition headers