I'll most likely simply repeat the code present in the zc158 /includes/init_includes/init_common_elements.php, with a note that the processing can be removed once support for zc157 is dropped.