Don't use deprecated functionality.