Is this cast still necessary?