Preliminary ninja support with phony target discovery/caching