I was copying the method from the new entity which does not contain it.