Added Unsafe handler.
Many object stuff.
Fixed formatting.