Adding a default widget template as well as additional helper functions for retrieving events query data.