Differentiating instance and static variables