Removed redundant cast.