Adding a downloadObject class for plugin customization.