Update reference.ts, etc