Added reflection methods to copy and traverse objects