Partial implementation of the consent service.