Added cleanup to MobBase