add auto-instantiation feature, therefore also consider static varialbes (not only constants)