Fixed config signature to bring callback out of options.