Added 'url' option to event and period directives