resource: remove vestigial static utility classes.
resource: make ResourceBuilder fields package-private.