More unsafe code to increase performance.