RootResource public constructor.