Cosmopolitan courtesy: Learning to be polite visitors