Removes unused, duplicate code method.