beforeInitMeta has a new signature