Copy type field directly instead of calling get_type to avoid