Is typecasting really a problem?