plugin as an object