Scoping everything and exposing only Template