modify conf, credentials methods to return its copy and not itself.