Add missing intrinsics

This commit hopefully provides feature parity with Rescript.