Initial implementation of polymer events