Make it easier to override polymorphic_path.