removed untested legacy code to access members other than methods via reflection