Implementing source-uri and pom-location-uri restrictions on graph traversal. TODO: Needs testing.