Support simpler component loading also for file-based components