You shouldn't need the cast.