Remove ahrd-coded method.