Replaced 'Environment' for 'Spatial' in templates.