Share instance variables between classes in the same hierarchy