[TASK] Remove direct usage of mb_ methods in the core