Added an API to add objects such as labels and images