inheritance from nt:folder and nt:file