In scoped, only attach docs if the scope is 'has'
Notes on code improvement