Completed implementing subset of intrinsics.