added resource wrappers.