Fix for reflection on instance variables