core+mini-mes: Move function name to struct function.