Lazy loading of classes (little buggy for now)