Is this cast really necessary?