Initial cut with device and socket plugin.