Handle ArchivalUrl subclasses.

A few changes to honor the archivalurl_class setting.