Is the typecast really needed?