Added eager loading of database resources.