Add clear_resources method to DataPackage