Encapsulate everything to make loading time safe.