Changed the checkLoaded method to static.