add scope default and type

Will need to be rebased atop 1.0.5 once it's pushed. Tests and documentation are in upcoming `npm` release.