Various discovery things and daemon work.