Unified builtins samples

@yilongli please review.