Removes unnecessary function.