Use observer for API now.