Add container magic functions