How to add custom functions to (EA or other) objects?