Added an Unsafe implementation.