Optimized array_set and array_get. Made accessing arguments of calls more convenient.