Add setting for avoiding usage of Unsafe wherever possible