Make auto_api detect posargs as well