define contexts when dumping/loading