Jade templates structure refactored.