Both these casts are immediately deferenced and the cast will assert for us that they are of the correct type.