Move callback installation to setup
Move discovery document fetch into setup