Refactor dependency manager's deactivation methods
Fix capitalization typo
Fix another typo