Created mechanics to set custom element as a helper.
Fixed bug with calling public methods.