Fix pointer return type for statuses