Removes an unneeded class member.