Upgraded template to smart_v1_0_4.