Add documentation for Resources.using and clean up test cases.