Added checks to use ClassAutoloader class in your plugins