Removes unnecessary things