Restored get_data method