Made configure require a callback