Worked on addInstanceField method.