Refactor deleteFromObject composition