Modifying template parsing and default theme