Add primitives to construct and access ratnums and cpxnums