Added (erroneously removed) import "unsafe"