variables: add a warning when adding a callback to a non existant variable.