Added functionality to remove an obj from a ctnr