Added the setObject method to datautils