Added fclass and fcode arguments to generic autocomplete