set the attr ndocs to private