Move Actor messages into APIs and group them into Commands, Events, and Queries.