Changed return type for getLocations() and getClasspaths() to be ImmutableList