[bugfix] fn:doc overwrites dependencies. It should not.