remove not needed casts.
Merge commit 'c77134b2fa5052a128b94c8c9233661c844b3580'