The office shall perform appropriate functions related to the sex offender civil commitment program provided under Chapter 841, Health and Safety Code, including functions related to the provision of treatment and supervision to civilly committed sex offenders.