Load class files only when needed.