Remove unused method and reference.