Removed excessive void casts