Add repository support for events and actions