Added const qualifier to instance_set_name.
Added branch list initialization in instance_create.