Added some contract methods