Package tmplfunc supports "sub"