Remove unneeded functions from k.h.security