Added load/save functionality.