Thinking about the custom entity API.