Added reflection util to use reflection to test if property and class
exists.