[WIP] Support registering method

* Suppport a functionality to add custom method to an EArray instance.