Added the option to either hard or soft remove an object