Remove unnecessary casts
Remove unnecessary semicolons