Add inline plugin registering function.
Make sure methods are chainable.
Add logic for constructing the inline plugin tree.