Moving security classes out of common until the DHT framework is ready.