Update license header and remove obsolete event() method