Remove all events when revoking access
Code linting