plugin defined as object, allow name prop to resolve when no init func