Unnecessary cast expressions