It's not needed here anymore, because if it's always an object now, and if it's not then you stumbled upon a bug, which should not silently fail.