Confused about def in def behavior.