Now works with new mpw_core function signature.