Smarter method for overloading Object