Implement primitive calling (and builtin primitives).