Used Object.observe and implemented Object.instanceOf