Add Oct.extend(), Object.method(). Optimize addEvent();