Added method for accessing Unsafe object from outside the class