update API to support LevelUP plugins.
this change enables usage with e.g. multilevel.