Add some boilerplate code for container management