plugin that calls `init` or `method` depending on invocation
update