Removes unnecessary closure