Class design: InodeType added to replace bool arguments