Automatically add 'this' in trigger
Refactor rendering methods