improve and cleanup template helper documentation