Added message endpoints.