Added unsafe function checker