Removed unused casting