Implement insteadOf block.