Fix 2.11 deprecation warnings for Reflection

For issue #208