Updated template and add group apis
remove warnings.