Checking type in the get method. I don't like doing this but need to figure out where the data is being cast.