Add unsafe for mod and extern.
#898
+13
−3
Merged