Should check against names, not the objects