Don't use deprecated stuff.