Using reflection to find the instance variables