Deprecate a public API method (soon to be made package local)