Create AbstractResource to AbstractEntityResource.