[Security] removed unneeded hard dependencies in Core