Fixed incorrect class name for cast.