Move consent to config