db object was private in Variable.