Removes unneeded class