Set private class on doc