Added isset magic method check to template.
Added additional routes, improved syntax.