Only load database on classes that require it