refelction update
merged
added reflection support for supperclases