Added two new Obj-C methods