Added tempalte wrapper around get function.