Localize class loading