cleanup and doc use of 'dev' query param