Fixed RefTypes.js (IntRef and Co.).