Added object deactivation.