Remove inused private method.