Added alternative way not to use auto-inference.