Updated the `setupHasMethods` method on the `Bundle` class.