Allow declaring unused inports, add to passthrough

Useful for testing to avoid caching