Implement Object#tap