Closes bug #5415. .BY gets names attribute set properly.