Changes db.load() to return value from loaded and invoked function (#194)