config: do not embed handles in config