Removing static stuff and templates