Expand custom data types when refreshing
Fix type size regression