Added a new insert method, addObject: