Added dependency details and instructions to the documentation. Fixed the second pass resolver to use an immutable set.