message exports should include endpoints.