Renamed variables to setup
Generalized references into setup, so it now the same thing in templates and posts (and do we need it in templates then?)