[Code Style] Tiny reordering.
[Code Clean] Dead code elimination.
[Code Clean] Decomposition done over unused helper function.

 * It is also forced to be inline to help compiler to perform dead code elimination optimization.
[Code Clean] Moving `make_unique` into detail section.