Change visibility of EventSourcedObject#registerHandlers to protected