Added a portion of consent api.