Handle other datatypes other than Object.