Implement events calls. Closes #22