You can add properties (represented by getter/setter functions) and methods to suit the purpose of the interface.
Toolbar
Adding Properties and Methods to the Type Library
Modifying an Interface Using the Type Library