Removes unnecessary library