Rename getInstanceByValue in getInstance.