Added functions to create and change objects.