Add factory example.