Removed redundant type cast.