Enable unsafe code for samples