Improve logging.
Only load dependencies if component is not yet loaded.