This unsafe cast should be left to the caller.