Added load/save and lookup functions.