Add support for unsafe fns