final remove docs functions