Supporting different entry for same name by parent or type