Add docs to core package.