Fix some DirEntry fields and methods to protected;