Removed unneeded cast.