docs: def fragment(string, name="anonymous", **context):
  	"""Translate a template fragment into a callable function.
  	
  	**Note:** Use of this function is discouraged everywhere except tests, as no caching is implemented at this time.
  	
  	Only one function may be declared, either manually, or automatically. If automatic defintition is chosen the
  	resulting function takes no arguments.  Additional keyword arguments are passed through as global variables.
  	"""
  	
  	if isinstance(string, bytes):
  		string = string.decode('utf-8')
  	
  	if ": def" in string or ":def" in string:
  		code = string.encode('utf8').decode('cinje')
  		name = None
  	else:
  		code = ": def {name}\n\n{string}".format(
  				name = name,
  				string = string,
  			).encode('utf8').decode('cinje')
  	
  	environ = dict(context)
  	
  	exec(code, environ)
  	
  	if name is None:  # We need to dig it out of the `__tmpl__` list.
  		if __debug__ and not environ.get('__tmpl__', None):
  			raise RuntimeError("Template fragment does not contain a function: " + repr(environ.get('__tmpl__', None)) + \
  					"\n\n" + code)
  		
  		return environ[environ['__tmpl__'][-1]]  # Super secret sauce: you _can_ define more than one function...
  	
  	return environ[name]